<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login</title>
<link href="${path}/css/bootstrap.min.css" rel="stylesheet">
<link href="${path}/css/login.css" rel="stylesheet">

<script src="${path}/js/basic/jquery-1.10.1.min.js"></script>
<script>
	$(function() {
		if (location.href != top.location.href) {
			top.location.href = '/bms/login';
		}
	});
</script>
</head>

<body>
	<div class="container">
		<form class="form-signin" action="${path}/verify" method="post">
			<h2 class="form-signin-heading">Please Login</h2>
			<div><font color="red">${error}</font></div>
			<input type="text" class="form-control" name="name"
				placeholder="Username" required autofocus> <input
				type="password" class="form-control" name="password"
				placeholder="Password" required>
			<button class="btn btn-lg btn-primary btn-block" type="submit">Login</button>
		</form>
	</div>
</body>
</html>